﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace VkApi.DataTypes
{

    /// <summary>
    /// Class that represents audio information.
    /// </summary>
    public class Audio
    {
        /// <summary>
        /// Gets or sets the audio id.
        /// </summary>
        /// <value>The audio id.</value>
        public int aid { get; set; }
        /// <summary>
        /// Gets or sets the owner id.
        /// </summary>
        /// <value>The owner id.</value>
        public int owner_id { get; set; }
        /// <summary>
        /// Gets or sets the artist name.
        /// </summary>
        /// <value>The artist name.</value>
        public string artist { get; set; }
        /// <summary>
        /// Gets or sets the title of the audio.
        /// </summary>
        /// <value>The title of the audio.</value>
        public string title { get; set; }
        /// <summary>
        /// Gets or sets the duration of audio.
        /// </summary>
        /// <value>The duration.</value>
        public int duration { get; set; }
        /// <summary>
        /// Gets or sets the URL to the audio.
        /// </summary>
        /// <value>The URL to audio.</value>
        public string url { get; set; }
        /// <summary>
        /// Gets or sets the lyrics id.
        /// </summary>
        /// <value>The lyrics id.</value>
        public int lyrics_id { get; set; }

    }

    /// <summary>
    /// Class that represents upload server information.
    /// </summary>
    public class AudioUploadServer
    {
        /// <summary>
        /// Gets or sets the upload URL.
        /// </summary>
        /// <value>The upload URL.</value>
        public string upload_url { get; set; }    
    }
}
